package com.likersai.opon.service.impl;

import com.likersai.opon.pojo.entity.Saying;
import com.likersai.opon.dao.SayingMapper;
import com.likersai.opon.service.SayingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 名言服务类
 *
 * @author sun.ye
 * @since 2021-01-06 13:27
 */
@Service
public class SayingServiceImpl implements SayingService {

    @Autowired
    private SayingMapper sayingMapper;

    @Override
    public Saying queryRandomOne() {
        sayingMapper.queryRandomOne();
        return null;
    }

    @Override
    public Saying insertOne(Saying record) {
        return null;
    }
}